package org.force4spring.support;

public class StaticCredentialsResolver implements ForceCredentialsResolver {
	private String username;
	
	private String password;

	/**
	 * @see org.force4spring.support.ForceCredentialsResolver#resolve()
	 */
	public ForceCredentials resolve() {
		ForceCredentials fc = new ForceCredentials();
		fc.setUsername(username);
		fc.setPassword(password);
		return fc;
	}

	/**
	 * @return the username
	 */
	public String getUsername() {
		return username;
	}

	/**
	 * @param username the username to set
	 */
	public void setUsername(String username) {
		this.username = username;
	}

	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * @param password the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}
	
	
}
